package model.commands;

import exceptions.TalkToPerson;
import view.input.InputWords;
import model.commands.Command;
import model.locations.World;
import model.locations._World;
import model.things.Thing;

public class GoCommand extends Command{

	_World world;
	
	public GoCommand(_World world) {
		this.world=world;
	}

	public String execute(InputWords words) {
		return world.goDirection(words.getWord2());
		
	}
}
